package generic;

import java.util.ArrayList;

public class GenericCheckTest {
    public static void main(String[] args) {
        ArrayList<String> list1 = new ArrayList<String>();
        list1.add("0");
        System.out.println("list1[" + 0 + "] = " + list1.get(0));

        ArrayList list2 = new ArrayList<String>();
        list2.add("0");
        System.out.println("list2[" + 0 + "] = " + list2.get(0));
    }
}